package com.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.dto.StockTransactionQueryDTO;
import com.project.entity.StockTransactions;
import com.project.result.PageResult;
import com.project.vo.StockTransactionListVO;

public interface StockTransactionsService extends IService<StockTransactions> {
    /**
     * 分页查询库存流水列表
     *
     * @param stockDto
     * @return
     */
    PageResult<StockTransactionListVO> queryStockTransactionPage(StockTransactionQueryDTO stockDto);

    /**
     * 根据ID获取库存流水信息
     *
     * @param id
     * @return
     */
    StockTransactionListVO getStockTransactionById(Integer id);
}
